package com.iqiyi.pps.epg.core.service.sginal;

import com.iqiyi.pps.epg.api.model.web.query.TFilter;
import com.iqiyi.pps.epg.api.model.web.query.TPage;
import com.iqiyi.pps.epg.api.model.web.sginal.TServerDataPage;
import com.iqiyi.pps.epg.core.model.sginal.Server;

import java.util.List;

/**
 * Created by zhang on 2017/4/28.
 */
public interface ServerService {
    public Server get(int id);
    public Server getZzdByInsideIp(String insideServerIp);
    public int add(Server entity);
    public void update(Server entity);
    public boolean checkByServerIp(String insideServerIp, Integer id);
    public boolean checkBySn(String sn, Integer id);
    public boolean checkInsideServerIp(String insideServerIp);
    public int getServerIncluding(String ip);
    public TServerDataPage getServersData(TPage page, TFilter filter);
    public List<Server> getAll();
    public List<Server> getAllZzd();
}
